package com.site.wisdom_construction.entity.personnelModule;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-01-04 
 */
@ApiModel (value ="参建单位表实体类",description = "Construction")
public class Construction {
	/**
	 * 参建单位id
	 */
   	@ApiModelProperty(value = "参建单位id", name = "id")
	private Integer id;

	/**
	 * 项目id
	 */
   	@ApiModelProperty(value = "项目id", name = "projectId")
	private Integer projectId;

	/**
	 * 单位类型
	 */
   	@ApiModelProperty(value = "单位类型", name = "flatType")
	private String flatType;

	/**
	 * 参建单位名称
	 */
   	@ApiModelProperty(value = "参建单位名称", name = "constructionName")
	private String constructionName;

	/**
	 * 项目负责人
	 */
   	@ApiModelProperty(value = "项目负责人", name = "projectLeader")
	private String projectLeader;

	/**
	 * 负责人联系方式
	 */
   	@ApiModelProperty(value = "负责人联系方式", name = "leaderPhone")
	private String leaderPhone;

	/**
	 * 统一社会信用代码
	 */
   	@ApiModelProperty(value = "统一社会信用代码", name = "creditCode")
	private String creditCode;

	/**
	 * 状态(0:不可用 1:可用)
	 */
   	@ApiModelProperty(value = "状态(0:不可用 1:可用)", name = "status")
	private String status;

	public Construction(){ super(); }

	public Construction(Integer id, Integer projectId, String flatType, String constructionName, String projectLeader, String leaderPhone, String creditCode, String status) {
		this.id = id;
		this.projectId = projectId;
		this.flatType = flatType;
		this.constructionName = constructionName;
		this.projectLeader = projectLeader;
		this.leaderPhone = leaderPhone;
		this.creditCode = creditCode;
		this.status = status;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return this.projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getFlatType() {
		return this.flatType;
	}

	public void setFlatType(String flatType) {
		this.flatType = flatType;
	}

	public String getConstructionName() {
		return this.constructionName;
	}

	public void setConstructionName(String constructionName) {
		this.constructionName = constructionName;
	}

	public String getProjectLeader() {
		return this.projectLeader;
	}

	public void setProjectLeader(String projectLeader) {
		this.projectLeader = projectLeader;
	}

	public String getLeaderPhone() {
		return this.leaderPhone;
	}

	public void setLeaderPhone(String leaderPhone) {
		this.leaderPhone = leaderPhone;
	}

	public String getCreditCode() {
		return this.creditCode;
	}

	public void setCreditCode(String creditCode) {
		this.creditCode = creditCode;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "{" +
				", id='" + id + '\'' +
				", projectId='" + projectId + '\'' +
				", flatType='" + flatType + '\'' +
				", constructionName='" + constructionName + '\'' +
				", projectLeader='" + projectLeader + '\'' +
				", leaderPhone='" + leaderPhone + '\'' +
				", creditCode='" + creditCode + '\'' +
				", status='" + status + '\'' +
				'}';
	}
}
